home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / RIncludes / Slots.r < prev    next >
Encoding:
Text File  |  1998-08-17  |  1.3 KB  |  47 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Slots.r
  3.  
  4.      Contains:    Slot Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1986-1993, 1995-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17.  
  18. #ifndef __SLOTS_R__
  19. #define __SLOTS_R__
  20.  
  21. #ifndef __CONDITIONALMACROS_R__
  22. #include "ConditionalMacros.r"
  23. #endif
  24.  
  25.  
  26. /*----------------------------pslt • Nubus psuedo-slot mapping constants------------------*/
  27. #define    horizAscending        0            /* horizontal form factor, ascending slot order   */
  28. #define    horizDescending        1            /* horizontal form factor, descending slot order  */
  29. #define    vertAscending        2            /* vertical form factor, ascending slot order     */
  30. #define    vertDescending        3            /* vertical form factor, descending slot order    */
  31.  
  32.  
  33. /*----------------------------pslt • Nubus pseudo-slot mapping resource-------------------*/
  34. type 'pslt' {
  35.         integer = $$Countof(pSlotSpec);                            /* # of slots               */
  36.         integer;                                                /* Nubus orientation      */
  37.         longint;                                                /* psltFlags, reserved    */
  38.         wide array pSlotSpec {
  39.                 integer;                                        /* Nubus slot #              */
  40.                 integer;                                        /* pseudo slot #          */
  41.         };
  42. };
  43.  
  44.  
  45. #endif /* __SLOTS_R__ */
  46.  
  47.